package com.example.dell.fastshopping.views;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.RelativeLayout;

import com.example.dell.fastshopping.utils.KLog;

/**
 * Created by ${YSH} on 2019/5/2.
 * 描述        ${TODO}
 * <p>
 * 更新者       $author$
 * 更新时间     $Data$
 * 描述         ${TODO}
 */
public class CoverInterrupteView extends RelativeLayout {
    public CoverInterrupteView(Context context) {
        super(context);
    }

    public CoverInterrupteView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public CoverInterrupteView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public boolean onInterceptTouchEvent(MotionEvent ev) {
        KLog.e("intercept");
        return true;
    }

    @Override
    public boolean onTouchEvent(MotionEvent event) {
        return true;
    }
}
